const data = global.get('_STATISTICS_').byTimeDimension;

// 从数据中移除 hourly 和 daily 维度
const { hourly, daily, ...filteredData } = data;

// 准备统一响应格式
const responseData = {
    success: true,
    code: 200,
    result: filteredData
};

// 6. 推送结果
msg.payload = responseData;
return msg